package com.zheng.upms.rpc.api;

import com.alibaba.fastjson.JSONArray;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.upms.dao.mapper.UpmsRolePermissionMapper;
import com.zheng.upms.dao.model.UpmsRolePermission;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * <p>
 * 角色权限关联表 服务实现降级实现类
 * </p>
 *
 * @author likun
 * @since 2017-12-29
 */
public class UpmsRolePermissionServiceMock extends BaseServiceMock<UpmsRolePermissionMapper, UpmsRolePermission> implements UpmsRolePermissionService {
    private static Logger _log = LoggerFactory.getLogger(UpmsRolePermissionServiceMock.class);

    @Override
    public int rolePermission(JSONArray systemArray, JSONArray permissionArray, Integer roleId) {
        _log.info("UpmsRolePermissionServiceMock => rolePermission");
        return 0;
    }
}
